package com.homedo.odin.solution;

import org.springframework.context.ApplicationListener;
import org.springframework.context.event.ContextRefreshedEvent;
import org.springframework.stereotype.Component;

/**
 * @author Harvey
 * @title: ApplicationStartup
 * @package com.homedo.odin.SOLUTION
 * @date 2018/1/19 10:23
 */
@Component
public class ApplicationStartup implements ApplicationListener<ContextRefreshedEvent> {

    @Override
    public void onApplicationEvent(ContextRefreshedEvent event) {
        /* event.getApplicationContext().getBean(XXX.class); */
    }
}
